/**
 * Created by yangheng940 on 2017/7/11.
 */
package com.cqfae.deploycentral.app.services;

import com.cqfae.deploycentral.app.dao.entity.WindowInfo;
import com.cqfae.deploycentral.app.web.request.WindowInfoRequest;
import com.cqfae.deploycentral.app.web.response.IPage;
import com.cqfae.deploycentral.app.web.vo.WindowInfoVo;

import java.util.Date;
import java.util.List;

public interface WindowInfoService {

    public IPage<WindowInfoVo> page(WindowInfoRequest request);

    public List<WindowInfo> pageList(WindowInfoRequest request);

    public Integer save(WindowInfoVo vo);

    public List<WindowInfo> findAll();

    public WindowInfo getOne(WindowInfo entity);

    public Integer createWindowForNextMonth(Date date);

    public Integer closeWindowForDay(Date date);

    public Integer packageAppForDay(Date date);
}
